﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability_2203.Common.Dto
{
    /// <summary>
    /// 返回值
    /// </summary>
    public class Reult
    {
        /// <summary>
        /// 编码
        /// </summary>
        public int Code {  get; set; }

        /// <summary>
        /// 返回值
        /// </summary>
        public object Data {  get; set; }

        /// <summary>
        /// 消息
        /// </summary>
        public string Msg {  get; set; }

    }
    /// <summary>
    /// 泛型
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class Reult<T>
    {
        /// <summary>
        /// 编码
        /// </summary>
        public int Code { get; set; }

        /// <summary>
        /// 返回值
        /// </summary>
        public T Data { get; set; }

        /// <summary>
        /// 消息
        /// </summary>
        public string Msg { get; set; }

    }
}
